<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
    <link href="https://getbootstrap.com/docs/4.0/examples/signin/signin.css" rel="stylesheet" crossorigin="anonymous"/>
</head>
<body>
<div class="form-signin">
    <h2>登录</h2>
    <div >
        <form th:action="@{/login}" method="post">
            <p>用户名：<input type="text" name="username" placeholder="请输入用户名"/> </p>
            <p>密&nbsp;&nbsp;码：<input type="password" name="pwd" placeholder="请输入密码"/></p>
            <label>
                <input type="checkbox" name="remember"/>
                记住我
            </label>
            <p><input type="submit" value="登录"> </p>
        </form>
    </div>
</div>

</body>
</html>